<template>
	<view class="content">
		<view class="head-pic">
			<image src="https://cdn.uviewui.com/uview/swiper/1.jpg" mode=""></image>
		</view>
		<view class="navbar">
			<view class="item" v-for="(item,index) in 4" :key="index">
				<view class="img-box">
					<image src="/static/logo.png" mode=""></image>
				</view>
				<view class="name">
					<text>会员卡</text>
				</view>
			</view>
		</view>
		<view class="vip-card">
			<view class="card-item" v-for="(item1,index1) in 4" :key="index1">
				<view class="top">
					
				</view>
				<view class="bottom">
					
				</view>
				<view class="float">
					<view class="img-box">
						<image src="/static/logo.png" mode=""></image>
					</view>
					<view class="right">
						<view class="head">
							<view class="head-left">
								<text>礼享会员</text>
							</view>
							<view class="head-right">
								<text>储值卡</text>
							</view>
						</view>
						<view class="price">
							<text>500.0元</text>
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		components:{
			
		},
		methods:{
			
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		position: relative;
		.head-pic{
			width: 750rpx;
			height: 350rpx;
			image{
				width: 100%;
				height: 100%;
			}
		}
		.navbar{
			position: absolute;
			top: 320rpx;
			left: 30rpx;
			padding: 20rpx 0 20rpx 60rpx;
			width: 630rpx;
			height: 160rpx;
			border-radius: 10rpx;
			background-color: #fff;
			box-shadow:#e1e1e1 0px 0px 10px;
			display: flex;
			flex-wrap: wrap;
			.item{
				display: flex;
				flex-direction: column;
				flex-wrap: wrap;
				margin-right: 57rpx;
				.img-box{
					width: 100rpx;
					height: 100rpx;
					border-radius: 20rpx;
					image{
						width: 100%;
						height: 100%;
					}
				}
				.name{
					font-size: 32rpx;
					color: #919191;
					margin-top: 20rpx;
					font-weight: bold;
				}
			}
		}
		.vip-card{
			margin-top: 220rpx;
			padding: 0 30rpx;
			.card-item{
				position: relative;
				.top{
					background-color: #fff;
					width: 690rpx;
					height: 50rpx;
				}
				.bottom{
					background-color: #F2F2F2;
					width: 690rpx;
					height: 150rpx;
					border-radius: 10rpx;
				}
				.float{
					position: absolute;
					top: 20rpx;
					left: 30rpx;
					width: 630rpx;
					height: 150rpx;
					display: flex;
					flex-wrap: wrap;
					.img-box{
						width: 230rpx;
						height: 150rpx;
						border-radius: 20rpx;
						image{
							width: 100%;
							height: 100%;
						}
					}
					.right{
						margin: 56rpx 0 0 20rpx;
						width: 380rpx;
						.head{
							display: flex;
							justify-content: space-between;
							.head-left{
								font-size: 32rpx;
								color: #333333;
							}
							.head-right{
								font-size: 28rpx;
								color: #777777;
							}
						}
						.price{
							color: #FF0000;
							font-size: 28rpx;
							margin-top: 20rpx;
						}
					}
				}
			}
		}
	}
</style>
